package com.lipeng.mapper;

import com.lipeng.bean.Attention;
import com.lipeng.bean.Club;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AttentionMapper {
    int deleteByPrimaryKey(Integer attid);

    int insert(Attention record);

    int insertSelective(Attention record);

    Attention selectByPrimaryKey(Integer attid);

    int updateByPrimaryKeySelective(Attention record);

    int updateByPrimaryKey(Attention record);

   List<Attention> selectAttentionByUid(Integer uid);

    Integer selectAttentionCountByCid(@Param("cid") Integer cid);

    Attention selectClubAttention(@Param("cid")Integer cid,@Param("uid")Integer uid);
}